package com.liguangting.agentsflex.tool;


import com.agentsflex.core.functions.annotation.FunctionDef;
import com.agentsflex.core.functions.annotation.FunctionParam;


/**
 * @author liguangting
 * @date 2024/7/5
 * @description
 */
public class WeatherUtil {

    @FunctionDef(name = "get_the_weather_info", description = "get the weather info")
    public static String getWeatherInfo(@FunctionParam(name = "city", description = "the city name") String name) {
        //在这里，我们应该通过第三方接口调用 api 信息
        return name + "的天气是阴转多云。 ";
    }
}
